package com.mengsenlin.mapper;

import com.mengsenlin.entity.*;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by Administrator on 2017/7/16.
 */
@Component
public interface GoodsMapper {


    List<PollEntity> selectPollGoods();
    List<TopEntity> selectTopGoods();
    List<RecommendEntity> selectRecommendGoods();
    List<GoodsSpecification> selectGoodsSpe(long goodsId);
    List<CartItem> selectCartGoods(long userId);
    long selectGoodsId(long goodsId);
    List<DetailGoods> selectDetailGoods(long goodsId);
    DetailGoods selectUrlDetailGoods(long goodsId);
//    Goods selectTopGoods();
//    Goods selectRecommendGoods();
//    Goods selectGoodsImage();

}
